/**
 * 
 */
package ac.svn.accesscontrol.store;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Ankush Chaudhary
 *
 */
public class LocationDetails implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    private String locationName;
    private String locationURL;
    private String lastModifiyBy = "Admin";
    private Date   createdOn;
    private Date   lastUpdated;
    
    
    public LocationDetails(String locationName, String locationURL) {
	super();
	this.locationName 	= locationName;
	this.locationURL 	= locationURL;
	this.createdOn 		= new Date();
	this.lastUpdated 	= new Date();
    }


    public LocationDetails() {
	super();
	this.createdOn 		= new Date();
	this.lastUpdated 	= new Date();
    }


    /**
     * @return the locationName
     */
    public String getLocationName() {
        return locationName;
    }


    /**
     * @param locationName the locationName to set
     */
    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }


    /**
     * @return the locationURL
     */
    public String getLocationURL() {
        return locationURL;
    }


    /**
     * @param locationURL the locationURL to set
     */
    public void setLocationURL(String locationURL) {
        this.locationURL = locationURL;
    }


    /**
     * @return the lastModifiyBy
     */
    public String getLastModifiyBy() {
        return lastModifiyBy;
    }


    /**
     * @param lastModifiyBy the lastModifiyBy to set
     */
    public void setLastModifiyBy(String lastModifiyBy) {
        this.lastModifiyBy = lastModifiyBy;
    }


    /**
     * @return the createdOn
     */
    public Date getCreatedOn() {
        return createdOn;
    }


    /**
     * @param createdOn the createdOn to set
     */
    public void setCreatedOn(Date createdOn) {
        this.createdOn = createdOn;
    }


    /**
     * @return the lastUpdated
     */
    public Date getLastUpdated() {
        return lastUpdated;
    }


    /**
     * @param lastUpdated the lastUpdated to set
     */
    public void setLastUpdated(Date lastUpdated) {
        this.lastUpdated = lastUpdated;
    }
    
    public String getLocationId()
    {
	return locationURL;
    }
    
    
    

}
